Next: Semantic Arguments, Up: Template Argument Dictionary Entries [Index]
Supplies the INDENT macro. When
INDENT is non-nil, then each line is
individually indented with indent-according-to-mode
during macro processing.
Specifying this argument adds a special :blank
handler at the beginning and end of the template. This handler
will insert \n if the insertion point is not on a
line by itself.
If there is an active region via
transient-mark-mode, or
mouse-drag-region, then the REGION
section will be enabled.
In addition, REGIONTEXT will be set to the text
in the region, and that region of text will be
“killed” from the current buffer.
If standard-output is NOT the current buffer, then the region
will not be deleted. In this way, you can safely use
:region using templates in arbitrary output
streams.
Sets up variables about the current user.
AUTHORValue of the Emacs function
user-full-name
EMAILCurrent Emacs user’s email address.
LOGINCurrent Emacs user’s login name.
UIDCurrent Emacs user’s login ID.
EMACSINITFILEThis Emacs sessions’ init file.
Sets up variables with the current date and time.
YEARThe current year.
MONTHThe current month as a number.
MONTHNAMEThe current month name, unabbreviated.
DAYThe current day as a number.
WEEKDAYThe current day of the week as an abbreviated name
HOURThe current hour in 24 hour format.
HOUR12The current hour in 12 hour format.
AMPMLocale equivalent of AM or PM. Useful with HOUR12.
MINUTEThe current minute.
SECONDThe current second.
TIMEZONEThe timezone string.
DATEThe Locale supported date (%D).
TIMEThe Locale supported time format (%X).
Sets up variables with details about the current file.
FILENAMEThe filename without the directory part of the current buffer.
FILEThe filename without the directory or extension
EXTENSIONThe filename extension.
DIRECTORYThe directory in which the current buffer resides.
MODEMajor mode of this buffer.
SHORTMODEMajor mode of this buffer without “-mode”. Useful for inserting the Emacs mode specifier.
section RCSShow the section RCS if there is a CVS or RCS directory here.
Sets up variables with computer system information.
SYSTEMCONFThe “system-configuration”.
SYSTEMTYPEThe “system-type”.
SYSTEMNAMEThe “system-name”.
MAILHOSTThe name of the machine Emacs derived mail “comes from”.
KILLThe top-most item from the kill ring.
KILL2The second item in the kill ring.
KILL3The third item in the kill ring.
KILL4The fourth item in the kill ring.
Next: Semantic Arguments, Up: Template Argument Dictionary Entries [Index]